package org.jeecg.modules.recruit.sign.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.api.dto.req.PageReq;
import org.jeecg.api.dto.req.UserPageReq;
import org.jeecg.api.dto.req.position.WorkSignDto;
import org.jeecg.api.dto.resp.position.MMUserWorkSignResultDto;
import org.jeecg.modules.recruit.sign.entity.MmUserSign;

/**
 * @Description: 报名信息
 * @Author: jeecg-boot
 * @Date: 2020-08-24
 * @Version: V1.0
 */
public interface IMmUserSignService extends IService<MmUserSign> {

    /**
     * 报名
     *
     * @param workSignDto
     * @return
     */
    boolean workSign(WorkSignDto workSignDto);

    /**
     * 分页查询用户报名情况
     *
     * @param req
     * @return
     */
    Page<MMUserWorkSignResultDto> getUserSignList(UserPageReq req);
}
